package com.beilang.hotline.person.manager;

import com.beilang.base.pagination.PaginationHelper;
import com.beilang.hotline.person.model.PersonModel;
import com.beilang.hotline.person.to.SearchTO;

import java.util.List;

public interface PersonMgr {
    public PersonModel createPerson(PersonModel personModel);

    public PersonModel savePerson(PersonModel personModel);

    public void deletePerson(Long personId);

    public PersonModel getPerson(Long personId);

    public PaginationHelper getPersonList(PaginationHelper helper, SearchTO searchTO);

    public void deleteAllCompanyPersons(Long companyId);

    public List getPersonList(String personName, String telNo, String handPhone);

}
